<!--
 * @Description: 天气预报设置
 * @version: 电子名片2.0
 * @Author: 付小清
 * @Date: 2020-11-23 10:23:52
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-04-13 19:07:37
-->

<template>
  <div class="form-box" style="width: 60%">
    <columnInputList :columList="columList" @openMessage="openMessage" />
  </div>
</template>

<script>
// 接口
// import { userSet } from '@/api/basics'
import columnInputList from './components/column-input-list.vue';
function createColumList() {
  const columList = [
    {
      name: '文件限制', 
      columChild: [
        {label: '图片文件上限：', value: '', tip: '单位：M'},
        {label: '音频文件上限：', value: '', tip: '单位：M'},
        {label: ' 视频文件上限：', value: '', tip: '单位：M'},
      ]
    },
    {
      name: '安全限制', 
      columChild: [
        {label: '密码错误上限：', value: '', tip: '按单日记，单位：次'},
        {label: '短信时间间隔：', value: '', tip: '单位：秒'},
        {label: '短信发送上限：', value: '', tip: '按单日记，单位：条'}
      ]
    }
  ];
  return columList;
}
export default {
  data() {
    return {
      columList: createColumList()
    }
  },
  components: {
    columnInputList
  },
  methods: {
    openMessage(title) {
      
    }
  },
  computed: {
    size() {
      return this.$store.getters.size
    }
  }
}
</script>

<style lang="scss" scoped>
  
</style>
